import React from 'react'
import { Form, Icon, Input, Button, Checkbox } from 'antd';
const FormItem = Form.Item;
import createContainer from '../../utils/createContainer';
const Add = () => (
        <Form layout="vertical">
                <FormItem label="计划标题">
                       <Input />
                </FormItem>
                <FormItem label="计划内容">
                        <Input />
                </FormItem>
                <FormItem>
                        <Button type="primary" htmlType="submit">Submit</Button>
                </FormItem>
        </Form>
)

const AddContainer = createContainer(
        ({planData}) => ({planData}), // mapStateToProps,
        require('../../redux/actions/plan').default, // mapActionCreators,
        Add // 木偶组件
)

export default AddContainer;

